package com.toubutu.audio.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.toubutu.audio.common.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 戒躁
 * @since 2024-01-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "Comment对象", description = "")
public class Comment extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("父评论id")
    private Integer parentId;

    @ApiModelProperty("当前评论者id")
    private Long userId;

    @ApiModelProperty("视频编码")
    private String videoCode;

    @ApiModelProperty("所回复的评论id")
    private Integer replyId;

    @ApiModelProperty("所回复的评论的所属者id")
    private Long replyUserId;






}
